import pytest,os
from wdmovie.log.log_setting import log_connect
from wdmovie.send import send_fasong

if __name__ == '__main__':
    log_connect()
    pytest.main(["./test_case01_mainflow.py","-s","--clean-alluredir","--alluredir=./baogao","-clean"])
    os.system("allure generate ./baogao -o ./htmlbaogao--clean")
    send_fasong(['./log/logs.log', './htmlbaogao/index.html'])